home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ WMP 6.xpl < prev    next >
Text File  |  2002-03-16  |  1KB  |  40 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH 1"="Program Options\Built in Windows Apps\Windows Media Player"
  5. "UIPATH 2"="Internet\Windows Media Player"
  6. "NAME"="Updates available Message"
  7. "VERSION"="1.00"
  8. "LANGUAGE"="VBScript"
  9. "TEXT 1"="Enable "Updates available" Message"
  10. "DESCRIPTION 1"="By default, Windows Media Player checks for updates from time to time. This plug-in allows you to enable or disable this message."
  11. "AUTHOR"="Ojatex@aol.com"
  12. "CONTACTURL"="http://members.aol.com/ojatex/"
  13. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  14. "COMMENT 1"="Thanks to CptSiskoX for tip & settings."
  15.  
  16.  
  17. sP="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\PlayerUpgrade\AskMeAgain"
  18.  
  19. Sub Plugin_Initialize 
  20.  s=RegReadValue(sP)
  21.  if IsEmpty(s) or s="yes" then
  22.     Call SetUIElement(1,true)
  23.  end if
  24. End Sub
  25.  
  26. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  27.  b=GetUIElement(1)
  28.  if b=true then
  29.     Call RegWriteValue(sP,"yes",1)
  30.  else
  31.     Call RegWriteValue(sP,"no",1)
  32.  end if
  33. End Sub
  34.  
  35. Sub Plugin_Terminate 
  36. End Sub
  37.  
  38.  
  39.  
  40.